package com.accp.reporter.pojo;

//用户表
public class User {
    private int id;
    private String userName;
    private String realName;
    private String password;
    private String userState;
    private int typeId ;
    private String tel;
    private String email;
    private String idCard;
    private int age;

    public User() {
    }

    public User(int id, String userName, String realName, String password, String userState, int typeId, String tel, String email, String idCard, int age) {
        this.id = id;
        this.userName = userName;
        this.realName = realName;
        this.password = password;
        this.userState = userState;
        this.typeId = typeId;
        this.tel = tel;
        this.email = email;
        this.idCard = idCard;
        this.age = age;
    }

    public User(String userName, String realName, String password, String tel, String email, String idCard, int age) {
        this.userName = userName;
        this.realName = realName;
        this.password = password;
        this.tel = tel;
        this.email = email;
        this.idCard = idCard;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserState() {
        return userState;
    }

    public void setUserState(String userState) {
        this.userState = userState;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", realName='" + realName + '\'' +
                ", password='" + password + '\'' +
                ", userState='" + userState + '\'' +
                ", typeId=" + typeId +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", idCard='" + idCard + '\'' +
                ", age=" + age +
                '}';
    }
}
